<%@ page language="java" contentType="text/html; charset=utf8"
	pageEncoding="utf8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div id="container">
	<ul id="items">
		<c:forEach items="${listdishs}" var="dish">
    		<li>
				<table border="0" width="350" cellspacing="0" cellpadding="0" height=200 background=winimage/graund.png>
					<tr>
						<td colspan="2" class="user" height="40">${dish.getName()}</td>
					</tr>
					<tr>
						<td >
							<table border="0" width="100%" cellspacing="0" cellpadding="0">
								<tr>
									<td  rowspan="3" width="10px"></td>
									<td class="main_text" height=75>&nbsp;${dish.getDescription()}</td>
								</tr>
								<tr>
									<td height="30" class="main_text" >&nbsp;${dish.getWeight()} г.</td>
								</tr>
								<tr>
									<td height="40" class="price">&nbsp;${dish.getPrice()} грн.</td>
								</tr>
								<tr>
									<td height="45" align=center colspan="2">
										<form method="POST" action="/CoffiSweetDreams/order.htm?action=add" >
											<input type="text" class="hidenell" readonly name="name" value="${dish.getName()}" />
											<input type="text" class="hidenell" readonly name="id" value="${dish.getId()}" />
											<input type="text" class="hidenell" readonly name="price" value="${dish.getPrice()}" />
											<input type="image" src="butttons/bay.png" > 
										</form>
									</td>
									
									
								</tr>
							</table>
						</td>
						<td width="155" align="center"> 
							<img src="${dish.getImage()}" alt="${dish.getName()}">
						</td>
					</tr>
					<tr>
						<td colspan="2" >&nbsp;</td>
					</tr>
				</table>
    		</li>
    	</c:forEach>
	</ul>
</div>